home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000017_ken%cs.toronto….cs.toronto.edu_Thu Sep 30 23:50:43 1993.msg < prev    next >
Internet Message Format  |  1994-10-11  |  1KB

  1. Received: from relay.cs.toronto.edu by cs.umb.edu with SMTP id AA16690
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Fri, 1 Oct 1993 03:50:55 -0400
  3. Received: from neat.cs.toronto.edu ([128.100.3.2]) by relay.cs.toronto.edu with SMTP id <428515>; Fri, 1 Oct 1993 03:50:51 -0400
  4. Received: by neat.cs.toronto.edu id <48144>; Fri, 1 Oct 1993 03:50:44 -0400
  5. From: Ken Lalonde <ken@cs.toronto.edu>
  6. To: tex-k@cs.umb.edu
  7. Subject: Bug in kpathsea 1.2 (frees memory twice)
  8. Message-Id: <93Oct1.035044edt.48144@neat.cs.toronto.edu>
  9. Date:     Fri, 1 Oct 1993 03:50:43 -0400
  10.  
  11. The following appears in elt-dirs.c, function kpse_element_dirs:
  12.  
  13.       string dir = kpse_expand (elt);
  14.  
  15.       expand_elt (&str_list, dir, 0);
  16.  
  17.       free (dir);
  18.  
  19. On an SGI box running IRIX 4.0.1, with CC=gcc, dvips dumps
  20. core in the free() call above, if any of the search paths contain ~.
  21.  
  22. The comments in kpse_expand() claim that the caller
  23. should not free the return value.  Removing the free()
  24. call above fixes the core dump.
  25.  
  26. Ken